package redis

type Config struct {
    Address  string `ini:"address"`
    Username string `ini:"username"`
    Password string `ini:"password"`
    DB       int    `ini:"db"`
}

func DefaultConfig() *Config {
    return &Config{
        Address:  "127.0.0.1:6379",
        Username: "",
        Password: "123456",
        DB:       1,
    }
}
